<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRTrumaAc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRTrumaAc-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRTrumaAc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Truma A/C messages.  
 <a href="classIRTrumaAc.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Truma_8h_source.html">ir_Truma.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRTrumaAc:</div>
<div class="dyncontent">
<div class="center"><img src="classIRTrumaAc__coll__graph.png" border="0" usemap="#IRTrumaAc_coll__map" alt="Collaboration graph"/></div>
<map name="IRTrumaAc_coll__map" id="IRTrumaAc_coll__map">
<area shape="rect" title="Class for handling detailed Truma A/C messages." alt="" coords="51,95,141,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="5,5,72,32"/>
<area shape="rect" href="unionTrumaProtocol.html" title="Native representation of a Truma A/C message." alt="" coords="96,5,211,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a02171342bc69c38b9d13930bfd5c44ff"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a02171342bc69c38b9d13930bfd5c44ff">IRTrumaAc</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a02171342bc69c38b9d13930bfd5c44ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRTrumaAc.html#a02171342bc69c38b9d13930bfd5c44ff">More...</a><br /></td></tr>
<tr class="separator:a02171342bc69c38b9d13930bfd5c44ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac429be41669c7ea395a4f57b99f90642"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#ac429be41669c7ea395a4f57b99f90642">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a1a49dde7ffbd753f7756cf0c9dc6d826">kNoRepeat</a>)</td></tr>
<tr class="memdesc:ac429be41669c7ea395a4f57b99f90642"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRTrumaAc.html#ac429be41669c7ea395a4f57b99f90642">More...</a><br /></td></tr>
<tr class="separator:ac429be41669c7ea395a4f57b99f90642"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6596a2fd4644358a6f122db2a94447e7"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a6596a2fd4644358a6f122db2a94447e7">calibrate</a> (void)</td></tr>
<tr class="memdesc:a6596a2fd4644358a6f122db2a94447e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRTrumaAc.html#a6596a2fd4644358a6f122db2a94447e7">More...</a><br /></td></tr>
<tr class="separator:a6596a2fd4644358a6f122db2a94447e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46d8ace3fd0d30f07c35b52c4d9ff71a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a46d8ace3fd0d30f07c35b52c4d9ff71a">begin</a> (void)</td></tr>
<tr class="memdesc:a46d8ace3fd0d30f07c35b52c4d9ff71a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRTrumaAc.html#a46d8ace3fd0d30f07c35b52c4d9ff71a">More...</a><br /></td></tr>
<tr class="separator:a46d8ace3fd0d30f07c35b52c4d9ff71a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a028e5859735ecfd11cbef649dd51d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a8a028e5859735ecfd11cbef649dd51d3">stateReset</a> (void)</td></tr>
<tr class="memdesc:a8a028e5859735ecfd11cbef649dd51d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the state of the remote to a known good state/sequence.  <a href="classIRTrumaAc.html#a8a028e5859735ecfd11cbef649dd51d3">More...</a><br /></td></tr>
<tr class="separator:a8a028e5859735ecfd11cbef649dd51d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c6f23621e34049df6ff135a4552f93a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a3c6f23621e34049df6ff135a4552f93a">on</a> (void)</td></tr>
<tr class="memdesc:a3c6f23621e34049df6ff135a4552f93a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the requested power state of the A/C to on.  <a href="classIRTrumaAc.html#a3c6f23621e34049df6ff135a4552f93a">More...</a><br /></td></tr>
<tr class="separator:a3c6f23621e34049df6ff135a4552f93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82ef2f54b87332f6d2f1e3350544a3ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a82ef2f54b87332f6d2f1e3350544a3ec">off</a> (void)</td></tr>
<tr class="memdesc:a82ef2f54b87332f6d2f1e3350544a3ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the requested power state of the A/C to off.  <a href="classIRTrumaAc.html#a82ef2f54b87332f6d2f1e3350544a3ec">More...</a><br /></td></tr>
<tr class="separator:a82ef2f54b87332f6d2f1e3350544a3ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaff68f98a079f0596440a0915409a6c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#aaff68f98a079f0596440a0915409a6c1">setPower</a> (const bool <a class="el" href="classIRTrumaAc.html#a3c6f23621e34049df6ff135a4552f93a">on</a>)</td></tr>
<tr class="memdesc:aaff68f98a079f0596440a0915409a6c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting.  <a href="classIRTrumaAc.html#aaff68f98a079f0596440a0915409a6c1">More...</a><br /></td></tr>
<tr class="separator:aaff68f98a079f0596440a0915409a6c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a27b6b42bcd57cd1acfc2a7d6c4389c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a3a27b6b42bcd57cd1acfc2a7d6c4389c">getPower</a> (void) const</td></tr>
<tr class="memdesc:a3a27b6b42bcd57cd1acfc2a7d6c4389c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting.  <a href="classIRTrumaAc.html#a3a27b6b42bcd57cd1acfc2a7d6c4389c">More...</a><br /></td></tr>
<tr class="separator:a3a27b6b42bcd57cd1acfc2a7d6c4389c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6cb4a1fa7671a9162145b6a4e8bd08b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#ae6cb4a1fa7671a9162145b6a4e8bd08b">setTemp</a> (const uint8_t celsius)</td></tr>
<tr class="memdesc:ae6cb4a1fa7671a9162145b6a4e8bd08b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRTrumaAc.html#ae6cb4a1fa7671a9162145b6a4e8bd08b">More...</a><br /></td></tr>
<tr class="separator:ae6cb4a1fa7671a9162145b6a4e8bd08b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a779a279fe607c42f2b4a7b4ff8eaf13f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a779a279fe607c42f2b4a7b4ff8eaf13f">getTemp</a> (void) const</td></tr>
<tr class="memdesc:a779a279fe607c42f2b4a7b4ff8eaf13f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting.  <a href="classIRTrumaAc.html#a779a279fe607c42f2b4a7b4ff8eaf13f">More...</a><br /></td></tr>
<tr class="separator:a779a279fe607c42f2b4a7b4ff8eaf13f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e650fb764693da7ab1b863b43a667e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a6e650fb764693da7ab1b863b43a667e1">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a6e650fb764693da7ab1b863b43a667e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRTrumaAc.html#a6e650fb764693da7ab1b863b43a667e1">More...</a><br /></td></tr>
<tr class="separator:a6e650fb764693da7ab1b863b43a667e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e96e2b872dcb6cccff9f8231b3374c4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a5e96e2b872dcb6cccff9f8231b3374c4">getFan</a> (void) const</td></tr>
<tr class="memdesc:a5e96e2b872dcb6cccff9f8231b3374c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRTrumaAc.html#a5e96e2b872dcb6cccff9f8231b3374c4">More...</a><br /></td></tr>
<tr class="separator:a5e96e2b872dcb6cccff9f8231b3374c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5190d6978631080f1617d3feec6f239"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#ac5190d6978631080f1617d3feec6f239">getMode</a> (void) const</td></tr>
<tr class="memdesc:ac5190d6978631080f1617d3feec6f239"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C.  <a href="classIRTrumaAc.html#ac5190d6978631080f1617d3feec6f239">More...</a><br /></td></tr>
<tr class="separator:ac5190d6978631080f1617d3feec6f239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae244a2be001cc99946f59cd3c178d95a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#ae244a2be001cc99946f59cd3c178d95a">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:ae244a2be001cc99946f59cd3c178d95a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C.  <a href="classIRTrumaAc.html#ae244a2be001cc99946f59cd3c178d95a">More...</a><br /></td></tr>
<tr class="separator:ae244a2be001cc99946f59cd3c178d95a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c1bc2a26b75c50a723cc4d29d121a9d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a5c1bc2a26b75c50a723cc4d29d121a9d">setQuiet</a> (const bool <a class="el" href="classIRTrumaAc.html#a3c6f23621e34049df6ff135a4552f93a">on</a>)</td></tr>
<tr class="memdesc:a5c1bc2a26b75c50a723cc4d29d121a9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the Quiet setting.  <a href="classIRTrumaAc.html#a5c1bc2a26b75c50a723cc4d29d121a9d">More...</a><br /></td></tr>
<tr class="separator:a5c1bc2a26b75c50a723cc4d29d121a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5102362a518e49176b3605d6fddf027e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a5102362a518e49176b3605d6fddf027e">getQuiet</a> (void) const</td></tr>
<tr class="memdesc:a5102362a518e49176b3605d6fddf027e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current quiet setting.  <a href="classIRTrumaAc.html#a5102362a518e49176b3605d6fddf027e">More...</a><br /></td></tr>
<tr class="separator:a5102362a518e49176b3605d6fddf027e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96c74884f744b75ba230bb7a4464fd21"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a96c74884f744b75ba230bb7a4464fd21">getRaw</a> (void)</td></tr>
<tr class="memdesc:a96c74884f744b75ba230bb7a4464fd21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a copy of the internal state/code for this protocol.  <a href="classIRTrumaAc.html#a96c74884f744b75ba230bb7a4464fd21">More...</a><br /></td></tr>
<tr class="separator:a96c74884f744b75ba230bb7a4464fd21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80eec53fa6df87174eb2212eee01f4fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a80eec53fa6df87174eb2212eee01f4fa">setRaw</a> (const uint64_t state)</td></tr>
<tr class="memdesc:a80eec53fa6df87174eb2212eee01f4fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol.  <a href="classIRTrumaAc.html#a80eec53fa6df87174eb2212eee01f4fa">More...</a><br /></td></tr>
<tr class="separator:a80eec53fa6df87174eb2212eee01f4fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71cbcde09a100df106dc86a6e9022958"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a71cbcde09a100df106dc86a6e9022958">toCommon</a> (void) const</td></tr>
<tr class="memdesc:a71cbcde09a100df106dc86a6e9022958"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent.  <a href="classIRTrumaAc.html#a71cbcde09a100df106dc86a6e9022958">More...</a><br /></td></tr>
<tr class="separator:a71cbcde09a100df106dc86a6e9022958"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0250f4a833b4ec583d28e85dd5ec6f7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a0250f4a833b4ec583d28e85dd5ec6f7a">toString</a> (void) const</td></tr>
<tr class="memdesc:a0250f4a833b4ec583d28e85dd5ec6f7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string.  <a href="classIRTrumaAc.html#a0250f4a833b4ec583d28e85dd5ec6f7a">More...</a><br /></td></tr>
<tr class="separator:a0250f4a833b4ec583d28e85dd5ec6f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:abd89085aeaa1847e37e14c01ac874c69"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#abd89085aeaa1847e37e14c01ac874c69">validChecksum</a> (const uint64_t state)</td></tr>
<tr class="memdesc:abd89085aeaa1847e37e14c01ac874c69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state.  <a href="classIRTrumaAc.html#abd89085aeaa1847e37e14c01ac874c69">More...</a><br /></td></tr>
<tr class="separator:abd89085aeaa1847e37e14c01ac874c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d300dcade65104145b253110862aa2f"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a5d300dcade65104145b253110862aa2f">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a5d300dcade65104145b253110862aa2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRTrumaAc.html#a5d300dcade65104145b253110862aa2f">More...</a><br /></td></tr>
<tr class="separator:a5d300dcade65104145b253110862aa2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b7bbb494fcb23b7b154e89587eb871a"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a3b7bbb494fcb23b7b154e89587eb871a">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a3b7bbb494fcb23b7b154e89587eb871a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRTrumaAc.html#a3b7bbb494fcb23b7b154e89587eb871a">More...</a><br /></td></tr>
<tr class="separator:a3b7bbb494fcb23b7b154e89587eb871a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d07273e6fb55fd9ad0e328054e1bfd0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a7d07273e6fb55fd9ad0e328054e1bfd0">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a7d07273e6fb55fd9ad0e328054e1bfd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRTrumaAc.html#a7d07273e6fb55fd9ad0e328054e1bfd0">More...</a><br /></td></tr>
<tr class="separator:a7d07273e6fb55fd9ad0e328054e1bfd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac91956eb18e0339cfa6280104737e22c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#ac91956eb18e0339cfa6280104737e22c">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:ac91956eb18e0339cfa6280104737e22c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRTrumaAc.html#ac91956eb18e0339cfa6280104737e22c">More...</a><br /></td></tr>
<tr class="separator:ac91956eb18e0339cfa6280104737e22c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a5bdb72773b8b2583754227d4f22e4573"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a5bdb72773b8b2583754227d4f22e4573">checksum</a> (void)</td></tr>
<tr class="memdesc:a5bdb72773b8b2583754227d4f22e4573"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate &amp; set the checksum for the current internal state of the remote.  <a href="classIRTrumaAc.html#a5bdb72773b8b2583754227d4f22e4573">More...</a><br /></td></tr>
<tr class="separator:a5bdb72773b8b2583754227d4f22e4573"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:a88f8ba515492d3d217f6476e0f386f1e"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a88f8ba515492d3d217f6476e0f386f1e">calcChecksum</a> (const uint64_t state)</td></tr>
<tr class="memdesc:a88f8ba515492d3d217f6476e0f386f1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for a given state.  <a href="classIRTrumaAc.html#a88f8ba515492d3d217f6476e0f386f1e">More...</a><br /></td></tr>
<tr class="separator:a88f8ba515492d3d217f6476e0f386f1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:abd9d54c3185e53d25c870a8e89cb0e90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#abd9d54c3185e53d25c870a8e89cb0e90">_irsend</a></td></tr>
<tr class="memdesc:abd9d54c3185e53d25c870a8e89cb0e90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class.  <a href="classIRTrumaAc.html#abd9d54c3185e53d25c870a8e89cb0e90">More...</a><br /></td></tr>
<tr class="separator:abd9d54c3185e53d25c870a8e89cb0e90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac756f5efa2a62a36495def7b4ca755c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionTrumaProtocol.html">TrumaProtocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#ac756f5efa2a62a36495def7b4ca755c7">_</a></td></tr>
<tr class="separator:ac756f5efa2a62a36495def7b4ca755c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7793142d962316d930372ea6beac2069"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a7793142d962316d930372ea6beac2069">_lastfan</a></td></tr>
<tr class="separator:a7793142d962316d930372ea6beac2069"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e72a42def9956635765c6bfb54f333b"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRTrumaAc.html#a9e72a42def9956635765c6bfb54f333b">_lastmode</a></td></tr>
<tr class="separator:a9e72a42def9956635765c6bfb54f333b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Truma A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a02171342bc69c38b9d13930bfd5c44ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02171342bc69c38b9d13930bfd5c44ff">&#9670;&nbsp;</a></span>IRTrumaAc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRTrumaAc::IRTrumaAc </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a46d8ace3fd0d30f07c35b52c4d9ff71a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46d8ace3fd0d30f07c35b52c4d9ff71a">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::begin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="a88f8ba515492d3d217f6476e0f386f1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88f8ba515492d3d217f6476e0f386f1e">&#9670;&nbsp;</a></span>calcChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRTrumaAc::calcChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the checksum for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The value to calc the checksum of. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The calculated checksum value. </dd></dl>

</div>
</div>
<a id="a6596a2fd4644358a6f122db2a94447e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6596a2fd4644358a6f122db2a94447e7">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRTrumaAc::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a5bdb72773b8b2583754227d4f22e4573"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bdb72773b8b2583754227d4f22e4573">&#9670;&nbsp;</a></span>checksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::checksum </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate &amp; set the checksum for the current internal state of the remote. </p>

</div>
</div>
<a id="a3b7bbb494fcb23b7b154e89587eb871a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b7bbb494fcb23b7b154e89587eb871a">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRTrumaAc::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a5d300dcade65104145b253110862aa2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d300dcade65104145b253110862aa2f">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRTrumaAc::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a5e96e2b872dcb6cccff9f8231b3374c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e96e2b872dcb6cccff9f8231b3374c4">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRTrumaAc::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed/mode. </dd></dl>

</div>
</div>
<a id="ac5190d6978631080f1617d3feec6f239"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5190d6978631080f1617d3feec6f239">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRTrumaAc::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>

</div>
</div>
<a id="a3a27b6b42bcd57cd1acfc2a7d6c4389c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a27b6b42bcd57cd1acfc2a7d6c4389c">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRTrumaAc::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a5102362a518e49176b3605d6fddf027e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5102362a518e49176b3605d6fddf027e">&#9670;&nbsp;</a></span>getQuiet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRTrumaAc::getQuiet </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current quiet setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a96c74884f744b75ba230bb7a4464fd21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96c74884f744b75ba230bb7a4464fd21">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t IRTrumaAc::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a copy of the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>The code for this protocol based on the current internal state. </dd></dl>

</div>
</div>
<a id="a779a279fe607c42f2b4a7b4ff8eaf13f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a779a279fe607c42f2b4a7b4ff8eaf13f">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRTrumaAc::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="a82ef2f54b87332f6d2f1e3350544a3ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82ef2f54b87332f6d2f1e3350544a3ec">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the requested power state of the A/C to off. </p>

</div>
</div>
<a id="a3c6f23621e34049df6ff135a4552f93a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c6f23621e34049df6ff135a4552f93a">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the requested power state of the A/C to on. </p>

</div>
</div>
<a id="ac429be41669c7ea395a4f57b99f90642"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac429be41669c7ea395a4f57b99f90642">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a1a49dde7ffbd753f7756cf0c9dc6d826">kNoRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6e650fb764693da7ab1b863b43a667e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e650fb764693da7ab1b863b43a667e1">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae244a2be001cc99946f59cd3c178d95a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae244a2be001cc99946f59cd3c178d95a">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aaff68f98a079f0596440a0915409a6c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaff68f98a079f0596440a0915409a6c1">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5c1bc2a26b75c50a723cc4d29d121a9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c1bc2a26b75c50a723cc4d29d121a9d">&#9670;&nbsp;</a></span>setQuiet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::setQuiet </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the Quiet setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Quiet is only available in Cool mode. </dd></dl>

</div>
</div>
<a id="a80eec53fa6df87174eb2212eee01f4fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80eec53fa6df87174eb2212eee01f4fa">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>A valid code for this protocol. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae6cb4a1fa7671a9162145b6a4e8bd08b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6cb4a1fa7671a9162145b6a4e8bd08b">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>celsius</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">celsius</td><td>The temperature in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8a028e5859735ecfd11cbef649dd51d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a028e5859735ecfd11cbef649dd51d3">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRTrumaAc::stateReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the state of the remote to a known good state/sequence. </p>

</div>
</div>
<a id="a71cbcde09a100df106dc86a6e9022958"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71cbcde09a100df106dc86a6e9022958">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRTrumaAc::toCommon </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>

</div>
</div>
<a id="ac91956eb18e0339cfa6280104737e22c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac91956eb18e0339cfa6280104737e22c">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRTrumaAc::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>spd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">spd</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a7d07273e6fb55fd9ad0e328054e1bfd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d07273e6fb55fd9ad0e328054e1bfd0">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRTrumaAc::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a0250f4a833b4ec583d28e85dd5ec6f7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0250f4a833b4ec583d28e85dd5ec6f7a">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRTrumaAc::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>

</div>
</div>
<a id="abd89085aeaa1847e37e14c01ac874c69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd89085aeaa1847e37e14c01ac874c69">&#9670;&nbsp;</a></span>validChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool IRTrumaAc::validChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verify the checksum is valid for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The value to verify the checksum of. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, if the state has a valid checksum. Otherwise, false. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac756f5efa2a62a36495def7b4ca755c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac756f5efa2a62a36495def7b4ca755c7">&#9670;&nbsp;</a></span>_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionTrumaProtocol.html">TrumaProtocol</a> IRTrumaAc::_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="abd9d54c3185e53d25c870a8e89cb0e90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd9d54c3185e53d25c870a8e89cb0e90">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRTrumaAc::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Instance of the IR send class. </p>

</div>
</div>
<a id="a7793142d962316d930372ea6beac2069"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7793142d962316d930372ea6beac2069">&#9670;&nbsp;</a></span>_lastfan</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRTrumaAc::_lastfan</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9e72a42def9956635765c6bfb54f333b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e72a42def9956635765c6bfb54f333b">&#9670;&nbsp;</a></span>_lastmode</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRTrumaAc::_lastmode</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Truma_8h_source.html">ir_Truma.h</a></li>
<li>src/<a class="el" href="ir__Truma_8cpp.html">ir_Truma.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
